package org.sny7.openOfflineList.bean;

import org.dom4j.Node;


public class Gui {
	
	public static Images images = Images.getInstance();
	
	public static boolean exists;
	
	private static Gui instance = new Gui();
	
	private Gui() {
		
	}
	
	public static Gui getInstance() {
		return instance;
	}
	
	public static void generate(Node guiNode) {
		if (guiNode == null) {
			exists = false;
			return;
		}
		exists = true;
		images.generate(guiNode.selectSingleNode("images"));
	}

}
